package com.itheima.service.mongo;

import com.itheima.domain.mongo.UserLocation;

import java.util.List;
import java.util.Map;

public interface UserLocationService {
    void saveOrUpdate(Long userId,double longitude,double latitude,String address);
    List<Long> searchNear(Long userId,int distance);
    Map<Double,Double> findById(Long userId);
    String findAddress(Long userId);
}
